package com.zzx.project.service.impl;

import com.zzx.project.dao.TagDao;
import com.zzx.project.entity.Tag;
import com.zzx.project.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService { //标签Service实现类

    @Autowired
    TagDao tagDao;

    @Override
    public List<Tag> getAll() {
        return tagDao.getAll();
    }
}
